<template>
  <div>
    <!-- 头部样式 -->
    <div id="Top">
      <div class="two">
        <span id="saoyisao" class="iconfont icon-saoyisaosaomiao"></span>
        <span  v-on:click="fun()" id="shezhi" class="iconfont icon-shezhi"></span>
      </div>
      <div class="twos">
        <img class="xiaoren" src="43.jpg" alt="" />
        <span class="ye">野巷子。</span>
        <img class="kuangye" src="44.jpg" alt="" />
        <span class="guanzhu">0关注</span>
        <span class="fensi">0粉丝</span>
        <span class="tuoyuan">切换账号</span>
      </div>
    </div>
    <!-- 4个的布局 -->
    <div class="four">
      <span>0</span>
      <span>14</span>
      <span class="iconfont icon-dingdan"></span>
      <span class="iconfont icon-xiaoxi"></span>
    </div>
    <!-- 4个布局下的文字 -->
    <div class="four1">
      <span>我的创作</span>
      <span>最近浏览</span>
      <span>订阅</span>
      <span>消息</span>
    </div>
  </div>
</template>

<script>
export default {
 methods:{
      fun(){
        this.$router.push("./Eight")
      }
    }
};
</script>

<style scoped>
/* 头部样式 */
#Top {
  width: 100%;
  height: 1.5rem;
  /* background:url(" + require('./pulic/05.jpg') + "); */
  background-color: #ffcf59;
  position: relative;
}
.two {
  position: absolute;
  margin-left: 3.2rem;
  margin-top: 00.2rem;
  height: 0.2rem;
}
#saoyisao {
  font-size: 0.2rem;
  margin-right: 0.1rem;
  color: black;
}
#shezhi {
  font-size: 0.2rem;
  color: black;
}
.twos {
  width: 100%;
  height: 1rem;
  position: absolute;
  background-color: #ffdd7c;
  margin-top: 0.5rem;
}
.xiaoren {
  height: 0.8rem;
  width: 20%;
  margin-left: 00.1rem;
  border-radius: 52%;
  position: absolute;
  border: 0.02rem solid white;
}
.kuangye {
  width: 20%;
  height: 0.26rem;
  position: absolute;
  margin-left: 1.58rem;
  margin-top: 00.06rem;
}
.ye {
  position: absolute;
  margin-top: 0.1rem;
  margin-left: 0.86rem;
  font-size: 0.18rem;
  font-weight: 600;
  height: 0.2rem;
  width: 20%;
}
.guanzhu {
  position: absolute;
  margin-left: 00.86rem;
  margin-top: 0.55rem;
  color: #fcfcfc;
}
.fensi {
  position: absolute;
  margin-left: 1.4rem;
  margin-top: 0.55rem;
  color: #fcfcfc;
}
.tuoyuan {
  width: 20%;
  height: 0.4rem;
  background-color: #ffe8b2;
  position: absolute;
  margin-left: 2.8rem;
  margin-top: 00.2rem;
  border-radius: 0.3rem;
  text-align: center;
  line-height: 00.4rem;
  font-size: 0.16rem;
  font-weight: 600;
}
/* 4个的布局 */
.four {
  width: 100%;
  height: 0.4rem;
  /* background-color: aqua; */
  display: flex;
  justify-content: space-between;
  line-height: 00.4rem;
  text-align: center;
}
.four span {
  width: 23%;
  height: 0.4rem;
  font-size: 0.24rem;
  color: #303030;
}
/* 4个布局下的文字 */
.four1 {
  width: 100%;
  height: 0.4rem;
  /* background-color: aqua; */
  display: flex;
  justify-content: space-between;
  line-height: 00.4rem;
  text-align: center;
  margin-top: 00.1rem;
}
.four1 span {
  width: 23%;
  height: 0.4rem;
  font-size: 0.16rem;
  color:#6b6b6b;
}
</style>